package middleware

import (
	"fmt"
	"github.com/gin-gonic/gin"
)

func Demo() gin.HandlerFunc {
	return func(c *gin.Context) {
		fmt.Println("中间件之前")

		c.Next()

		fmt.Println("中间件之后")

	}
}
